define(['jquery', 'vue', 'moment', 'script/webgl3d'], function ($, Vue, moment, webgl3d) {
    'use strict';

    function mainPageModule() {
    };

    mainPageModule.prototype.run = function () {
        // title栏
        $('#titleLayout').load('./view/mainPage/title.html', function () {

        });

        // 尾页
        $('#tailLayout').load('./view/mainPage/tail.html', function () {
            var tailList = new Vue({
                el: '#tailList',
                data: {
                    items: [],
                }
            });

            var data = {};
            data.year = moment().format('YYYY');
            tailList.items.push(data);
        });
    };

    return mainPageModule;
});